package models

import "gorm.io/gorm"

type Staff struct {
	gorm.Model
	Name       string `gorm:"type:varchar(20)" json:"name"`
	Sex        string `gorm:"type:enum('男','女')" json:"sex"`
	Department string `gorm:"type:varchar(15)" json:"department"`
	Tel        string `gorm:"type:char(11)" json:"tel"`
	Img        string `gorm:"type:varchar(100)" json:"img"`
}
